<?php
	 $FromDate=$this->session->userdata('StartDay'); 
	$ToDate=$this->session->userdata('EndDay');
	
?>

<?php echo form_open('workDay'); ?>
<br>
<br>
<br>
<br>
<table class="tablebg" cellspacing="1" align="right" width="900px" border="0">	

	<tr>
		<td>Staff_ID</td>
		<td>FromDate</td>
		<td>ToDate</td>
		<td></td>
	</tr>	
	<tr>
		<td><?php echo form_dropdown('Staff_ID', $staff);?></td>
		<td><input type="text" name="FromDate" value="<?php echo $FromDate;?>" id="Date" onclick="loadCalendar(this.id);" /> </td>
		<td><input type="text" name="ToDate" value="<?php echo $ToDate; ?>" id="Date1" onclick="loadCalendar(this.id);" /> </td>
		
		<td> <input type="submit" value="submit" id="submit" /> </td>
	</tr>
	
</table>
<?php form_close(); ?>
